//
//  DTCBluetoothDataBaseManager.h
//  BluetoothProject
//
//  Created by JianWei Chen on 16/9/5.
//  Copyright © 2016年 JianWei Chen. All rights reserved.
//

#import <Foundation/Foundation.h>

@class DTCDeviceModel;


/**
 蓝牙设备数据库处理
 */
@interface DTCBluetoothDataBaseManager : NSObject

+ (DTCBluetoothDataBaseManager *)sharedInstance;

/**
 根据mac地址获取对应设备
 */
- (NSArray *)allDeviceWithMac:(NSString *)mac;

/**
 获取所有设备
 */
- (NSArray *)getAllDevice;

/**
 添加设备
 */
- (BOOL)addDevice:(DTCDeviceModel *)device;

/**
 删除所有设备
 */
- (void)deleteAllDevice;

/**
 根据mac地址，删除对应设备
 */
- (BOOL)deleteDeviceWithMac:(NSString *)mac;
@end

